<?php $this->beginContent('/layouts/main'); ?>
<div class="main" id="mask">

    <div id="main" class="main-cont">

        <div class="container">
			<div id="page-cont">
				<?php echo $content; ?>
			</div>
			<!-- /content -->
		</div>

    </div>
</div>

<div id="aside">
	
    <div class="nav">
    <?php $this->widget('zii.widgets.CMenu',array(
    	'encodeLabel'=>false,
        'activateParents'=>true,
        'items'=>array(
        	array('label'=>'<i class="ico-dashboard"></i>Dashboard', 'url'=>array('/dashboard')),
			array('label'=>'<i class="ico-settings"></i>Settings', 'url'=>array('/settings')),
			array('label'=>'<i class="ico-site"></i>Site', 'url'=>array('/site')),
            array('label'=>'<i class="ico-post"></i>Posts', 'url'=>array('/post'), 'items'=>array(
                array('label'=>'Manage posts', 'url'=>array('/post/index')),
				array('label'=>'Create a post', 'url'=>array('/post/create')),
			)),
            array('label'=>'<i class="ico-comment"></i>Comments', 'url'=>array('/comment'), 'items'=>array(
				array('label'=>'All comments', 'url'=>array('/comment/index')),
				array('label'=>'Manage comments', 'url'=>array('/comment/admin')),
			)),
            array('label'=>'<i class="ico-product"></i>Products', 'url'=>array('/product')),
            array('label'=>'<i class="ico-links"></i>Links', 'url'=>array('/links')),
        ),
    )); ?>
    </div>
    <!-- /nav -->
    
</div>
<?php $this->endContent(); ?>
